import request from '@/utils/request'

const {
  get: $get,
  post: $post,
  download: $download,
  downloadGet: $downloadGet
} = request

// 根据字典key查询字典
export const getDictFindByKey = (dictType) => {
    return $get(`/system/dictType/getDictInfo/${dictType}`)
  }

// 获取所有数据字典  
export const getAllDicts = (data) => {
    return $get(`/system/dictType/getAllDictInfo`,data)
}